import service from '../index'
/**
 * 测试demo
 * */
export default {
  getUserList(params,callback){
    service.get('/sys/user/data',{params},callback);
  },
  addUser(params){
    service.post('/sys/user/data?token=111111',params);
  },
  updateUser(url,params,callback){
    service.put('/sys/user/data'+url,params,callback);
  },
  resetPassword(params,callback){
    service.patch('/sys/userAuth/resetPassword',params,callback)
  },
  nicknameLike(params,callback){
    service.patch('/sys/user/search/nicknameLike',{params},callback)
  }
}
